package org.android10.viewgroupperformance.Dagger;


/**
 * Created by Bruce-Home on 2015/8/29.
 */
public class ElectricHeater implements Heater {
    private boolean isHot = false;
    @Override
    public void on() {
        isHot = true;
        System.out.println( "ElectricHeater => on()");
    }

    @Override
    public void off() {
        isHot = false;
        System.out.println( "ElectricHeater => off()");
    }

    @Override
    public boolean isHot() {
        System.out.println( "ElectricHeater => isHot()");
        return isHot;
    }
}
